package com.ruoyi.baseSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住户管理对象 m_household_info
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class MHouseholdInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户信息id */
    private Long id;

    /** 小区 */
    @Excel(name = "小区")
    private Long residentialName;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private Long buildingName;

    /** 住户姓名 */
    @Excel(name = "住户姓名")
    private String householdName;

    /** 住户号码 */
    @Excel(name = "住户号码")
    private String householdPhone;

    /** 住户门牌号 */
    @Excel(name = "住户门牌号")
    private String householdAddress;

    /** 住户状态 0异常，1正常 */
    @Excel(name = "住户状态 0异常，1正常")
    private Long householdStatus;

    /** 描述 */
    @Excel(name = "描述")
    private String householdDes;

    //小区
    private Residential residential;
    //楼栋
    private Building building;

    public Residential getResidential() {
        return residential;
    }

    public void setResidential(Residential residential) {
        this.residential = residential;
    }

    public Building getBuilding() {
        return building;
    }

    public void setBuilding(Building building) {
        this.building = building;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResidentialName(Long residentialName) 
    {
        this.residentialName = residentialName;
    }

    public Long getResidentialName() 
    {
        return residentialName;
    }
    public void setBuildingName(Long buildingName) 
    {
        this.buildingName = buildingName;
    }

    public Long getBuildingName() 
    {
        return buildingName;
    }
    public void setHouseholdName(String householdName) 
    {
        this.householdName = householdName;
    }

    public String getHouseholdName() 
    {
        return householdName;
    }
    public void setHouseholdPhone(String householdPhone) 
    {
        this.householdPhone = householdPhone;
    }

    public String getHouseholdPhone() 
    {
        return householdPhone;
    }
    public void setHouseholdAddress(String householdAddress) 
    {
        this.householdAddress = householdAddress;
    }

    public String getHouseholdAddress() 
    {
        return householdAddress;
    }
    public void setHouseholdStatus(Long householdStatus) 
    {
        this.householdStatus = householdStatus;
    }

    public Long getHouseholdStatus() 
    {
        return householdStatus;
    }
    public void setHouseholdDes(String householdDes) 
    {
        this.householdDes = householdDes;
    }

    public String getHouseholdDes() 
    {
        return householdDes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("residentialName", getResidentialName())
            .append("buildingName", getBuildingName())
            .append("householdName", getHouseholdName())
            .append("householdPhone", getHouseholdPhone())
            .append("householdAddress", getHouseholdAddress())
            .append("householdStatus", getHouseholdStatus())
            .append("householdDes", getHouseholdDes())
            .toString();
    }
}
